<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar2">基本信息</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目名称：</td>
		<td colspan="3">
			<input id="zh_title" name="proposal/zh_title" label="项目名称" type="text" required class="input_css required maxlength:100"  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right" width="25%"><span class="color_red">*</span>技术中心认定文件（文号）：</td>
		<td width="25%"><input name="proposal/identified_file" label="技术中心认定文件" type="text" required class="input_css required" maxlength="50" value="<x:out select="$xmlData/data/proposal/identified_file" />" /></td>
		<td align="right" width="25%"><span class="color_red">*</span>认定级次：</td>
		<td nowrap valign="middle" width="25%">
		<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="identified" label="国家级" value="01" /><span style="vertical-align: middle;">国家级</span></label> 
		<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="identified" label="省级" value="02" /><span style="vertical-align: middle;">省级</span></label> 
		<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="identified" label="市级" value="03" /><span style="vertical-align: middle;">市级</span></label>
		<input type="hidden" name="proposal/identified_value" id="identified_value" class="required" value="<x:out select="$xmlData/data/proposal/identified_value" />" label="认定级次" /> 
		<input type="hidden" name="proposal/identified_name" id="identified_name" value="<x:out select="$xmlData/data/proposal/identified_name" />" label="认定级次" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>技术中心类别：</td>
	<td nowrap colspan="3" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="category" label="工业类" value="01" /><span style="vertical-align: middle;">工业类</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="category" label="物流类" value="02" /><span style="vertical-align: middle;">物流类</span></label> 
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="category" label="软件类" value="03" /><span style="vertical-align: middle;">软件类</span></label>
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="category" label="建筑类" value="04" /><span style="vertical-align: middle;">建筑类</span></label>
	<input type="hidden" name="proposal/category_value" id="category_value" class="required" value="<x:out select="$xmlData/data/proposal/category_value" />" label="技术中心类别" /> 
	<input type="hidden" name="proposal/category_name" id="category_name" value="<x:out select="$xmlData/data/proposal/category_name" />" label="技术中心类别" /></td>
	</tr>
	<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td colspan="3">
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申报日期"></cpt:date> 
		</td>
	</tr>
	</table>
	<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1"  id="basicInfo1">
	<tr>
		<td   colspan="4" class="t_bar2">技术中心基本情况</td>
	</tr>
	<tr>
	<td width="25%" align="right"><span class="color_red">*</span>建立地点：</td>
	<td width="25%"><input name="proposal/address" label="建立地点" type="text" required class="input_css required" maxlength="50" value="<x:out select="$xmlData/data/proposal/address" />" /></td>
	<td width="25%" align="right"><span class="color_red">*</span>建立时间：</td>
	<td width="25%">
	        <c:set var="build_date"><x:out select="$xmlData/data/proposal/build_date" /></c:set>
			<cpt:date id="build_date" name="proposal/build_date" value="${build_date}" className=" required date" label="建立时间"></cpt:date>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>使用面积（平方米）：</td>
	<td>
	<input  name="proposal/user_area"  label="使用面积" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2)" value="<x:out select="$xmlData/data/proposal/user_area" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>企业技术开发仪器原值（万元）：</td>
	<td>
	<input  name="proposal/instrument_value"  label="企业技术开发仪器原值" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/instrument_value" />"/>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>技术中心人数（人）：</td>
	<td>
	<input  name="proposal/technology_person"  id="technology_person" label="技术中心人数" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/technology_person" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>其中本科以上人数（人）：</td>
	<td>
	<input  name="proposal/college_up"  id="college_up"  label="其中本科以上人数" type="text"  class="input_css required valueGreatEqual:technology_person:college_up" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/college_up" />"/>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>企业新产品销售收入（万元）：</td>
	<td>
	<input  name="proposal/sell_income"  label="企业新产品销售收入" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sell_income" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>企业新产品销售利润（万元）：</td>
	<td>
	<input  name="proposal/sell_profit"  label="企业新产品销售利润" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sell_profit" />"/>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>企业全部科技项目数（项）：</td>
	<td>
	<input name="proposal/research_project"  label="企业全部科技项目数" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/research_project" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>研发周期三年及以上的项目数（项）：</td>
	<td>
	<input name="proposal/research_period"  label="研发周期三年及以上的项目数" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/research_period" />"/>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>对外合作项目数（项）：</td>
	<td>
	<input name="proposal/cooperation_project"  label="对外合作项目数" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/cooperation_project" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>上年度完成的科技项目数（项）：</td>
	<td>
	<input name="proposal/finish_project"  label="上年度完成的科技项目数" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/finish_project" />"/>
	</td>
	</tr>
	</table>
<div class="t_bar"><span class="color_red">*</span>上年度主要科技项目（限5条）</div>
<table  id="tblProjects" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="55%">项目名称</th> 
				        <th class="TblHead" align="center"  width="35%">项目成果形式（50字）</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selProjects" >
						</td>
						<td align="center">&nbsp;
							<span name="projects|project[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" name="projects|project[0]|name" label="项目名称"  class=" input_text required" maxlength="50" style="width:90%"/>
						</td>
						
						<td align="center">
							<input type="text" name="projects|project[0]|form"  label="项目成果形式"  class=" input_text required" maxlength="50" style="width:90%" />
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/projects/project" var="project">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selProjects" >
						</td>
						<td align="center">&nbsp;
							<span name="projects/project[${flag}${index}]@seq_no" ><x:out select="$project/@seq_no"/></span> 
						</td>
						<td align="center">
							<input type="text" name="projects/project[${flag}${index}]/name"   style="width:90%"   class=" input_text required" value="<x:out select="$project/name" />" maxlength="50"/>
						</td>
						
						<td align="center">
							<input type="text" name="projects/project[${flag}${index}]/form"    style="width:90%"  class=" input_text required" value="<x:out select="$project/form" />" maxlength="50"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblProjects',5,'上年度主要科技项目最多只能填写5条')){addNewRow('tblProjects');showDateTag('tblProjects');}try{top.resizeFrame();}catch(e){};"/>
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblProjects','selProjects')"/>
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblProjects','selProjects')"/>
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblProjects','上年度主要科技项目');"/>
					</td></tr>
	</table>	
	<div class="t_bar"><span class="color_red">*</span>上年度科技成果应用情况（限5条）</div>
<table  id="tblAchievements" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="55%">项目名称</th> 
				        <th class="TblHead" align="center"  width="35%">项目成果形式（50字）</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selAchievements" >
						</td>
						<td align="center">&nbsp;
							<span name="achievements|achievement[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" name="achievements|achievement[0]|name" label="项目名称" class=" input_text required" maxlength="50" style="width:90%"/>
						</td>
						
						<td align="center">
							<input type="text" name="achievements|achievement[0]|form" label='项目成果形式'  class=" input_text required" maxlength="50" style="width:90%" />
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/achievements/achievement" var="achievement">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selAchievements" >
						</td>
						<td align="center">&nbsp;
							<span name="achievements/achievement[${flag}${index}]@seq_no" ><x:out select="$achievement/@seq_no"/></span> 
						</td>
						<td align="center">
							<input type="text" name="achievements/achievement[${flag}${index}]/name"   style="width:90%"   class=" input_text required" value="<x:out select="$achievement/name" />" maxlength="50"/>
						</td>
						
						<td align="center">
							<input type="text" name="achievements/achievement[${flag}${index}]/form"    style="width:90%"  class=" input_text required" value="<x:out select="$achievement/form" />" maxlength="50"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblAchievements',5,'上年度科技成果应用情况最多只能填写5条')){addNewRow('tblAchievements');showDateTag('tblAchievements');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblAchievements','selAchievements')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblAchievements','selAchievements')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblAchievements','上年度主要科技项目');">
					</td></tr>
	</table>	

	

	<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org1">
	
	<tr>
		<td    class="t_bar2" colspan="4">合作单位信息</td>
		
	</tr>
	<tr>
		<td    class="t_bar2" colspan="4">合作单位信息1</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name1" label="合作单位信息1" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name1" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address1" label="合作单位信息1-->地址" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address1" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature1">{'id':'<x:out select="$xmlData/data/proposal/nature1_code" />','name':'<x:out select="$xmlData/data/proposal/nature1_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature1}"  label="合作单位信息1-->注册类型"
          		id="nature1" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature1_code" type="hidden" name="proposal/nature1_code" class="" label="合作单位信息1-->注册类型" value="<x:out select="$xmlData/data/proposal/nature1_code" />"/>
            <input id="nature1_name" type="hidden" name="proposal/nature1_name"  value="<x:out select="$xmlData/data/proposal/nature1_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no1" label="合作单位信息1-->组织机构代码" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no1" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name1" label="合作单位信息1-->联系人" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name1" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel1" label="合作单位信息1-->电话" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel1" />"/></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org2">
<tr>
		<td    class="t_bar2" colspan="4">合作单位信息2</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name2" label="合作单位信息2" type="text" required class="input_css " onchange="cydw('org2');"  style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name2" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address2" label="合作单位信息2-->地址" type="text" required class="input_css " onchange="cydw('org2');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address2" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature2">{'id':'<x:out select="$xmlData/data/proposal/nature2_code" />','name':'<x:out select="$xmlData/data/proposal/nature2_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature2}" label="合作单位信息2-->注册类型"
          		id="nature2" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature2_code" type="hidden" name="proposal/nature2_code"  class="" label="合作单位信息2-->注册类型" value="<x:out select="$xmlData/data/proposal/nature2_code" />"/>
            <input id="nature2_name" type="hidden" name="proposal/nature2_name"  value="<x:out select="$xmlData/data/proposal/nature2_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no2" label="合作单位信息2-->组织机构代码" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no2" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name2" label="合作单位信息2-->联系人" type="text"  class="input_css "  onchange="cydw('org2');" maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name2" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel2" label="合作单位信息2-->电话" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel2" />"/></td>
	</tr>
</table>

<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="basicInfo2">
	<tr>
		<td   colspan="4" class="t_bar2">申请项目资金情况</td>
	</tr>
	<tr>
		<td align="right">项目投入资金总额（万元）：</td>
		<td colspan="1"><input name="proposal/investment_budget" id="investment_budget"
			 label="项目投入资金总额" type="text" class="input_css  gray" disabled
			style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/investment_budget" />" /></td>
		<td align="right">其中：设备投入资金（万元）：</td>
		<td colspan="1"><input name="proposal/finsh_budget" id="finsh_budget"
			 label="其中：设备投入资金" type="text" 
			class="input_css  gray"  disabled style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/finsh_budget" />" /></td>
	</tr>
	<tr>
	<td  align="right"  >项目类别：</td>
	<td ><x:out select="$xmlData/data/proposal/grant_name" />
	</td> 
	<td  align="right">支持方式：</td>
	<td colspan="1">
		<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
	</td>
		
		
	</tr>
	<tr>
	    <td width="25%" align="right">申请金额（万元）：</td>
	    <td width="25%">
	    <input  name="proposal/sqje" id="sqje" class="gray " disabled label="申请金额" type="text" required class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sqje" />"/> 
	    </td>
	    <td width="25%" align="right">资金级次：</td>
		<td width="25%" colspan="1">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap>归口管理部门：</td>
		<td  ><span name="proposal/org_name">无锡市经济和信息化委员会</span> </td>
	    <td  align="right">管理类别：</td>
		<td  colspan="1">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="4">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="3">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
	</table>
	<table  width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td    class="t_bar2">申请资助依据条款</td>
		
	</tr>
	<tr>
		<td ><pre><x:out select="$xmlData/data/proposal/policy_foundation" /></pre>
			<textarea style="display: none;" rows="" cols="" name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></textarea>
		   <input type="hidden" name="proposal/policy_foundation_hidden" id="proposal/policy_foundation_hidden" value=""> 
		</td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="basicInfo3">
<tr>
		<td    class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="100" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="100" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		</td>
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
	
	
</table>
<script type="text/javascript">
$(function(){
	cydw('org1');
	cydw('org2');
});

function cydw(id){
	var count =0 ;
	$("#"+id).find("input[type='text']").each(function(){
		if($.trim($(this).val()) != ''){
			count +=1;
		}
	});
	if(count != 0){
		$("#"+id).find("input[type='text']").each(function(){
			$(this).addClass("required");
		});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','');
		});
	}else{
		$("#"+id).find("input[type='text']").each(function(){
			$(this).removeClass("required");
	});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','none');
		});
	}
}
function setEmptyValueForTree(id){
	$("#"+id).val("");
	$("#"+id+"_hideId").val("");
	$("#"+id+"_hideName").val("");
	$("#"+id+"_code").val("");
	$("#"+id+"_value").val("");
	$("#"+id+"_name").val("");
	$("#"+id + ",[name$='/"+id+"_code']" + ",[name$='/"+id+"_name'],[name$='/"+id+"_value']").val("");
	$("#sqdm").val("");
	cydw('org1');
	cydw('org2');
}
function initTreeValue2CallBack(){
	cydw('org1');
	cydw('org2');
}
</script>

